CFLAG= -std=c++11 -I ../../../build/release-install-cpp11/include/
LFLAG= -L../../../build/release-install-cpp11/lib -ljsoncpp -lmuduo_net -lmuduo_base -pthread
all: server client
reg_server: registry_server.cpp
	g++  $(CFLAG) $^ -o $@ $(LFLAG)
rpc_server: rpc_server.cpp
	g++  $(CFLAG) $^ -o $@ $(LFLAG)
rpc_client: rpc_client.cpp
	g++  $(CFLAG) $^ -o $@ $(LFLAG)
.PHONY:clean
clean:
	rm -f reg_server rpc_server rpc_client